package com.fabiohb.orcamento.model;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "orcamentoMensal")
@XmlType(propOrder = { "mes", "creditos", "debitos" })
public class OrcamentoMensal extends AbstractModel {

	private Integer mes;

	@XmlElement(name = "credito")
	private List<Credito> creditos = new ArrayList<Credito>();

	@XmlElement(name = "debito")
	private List<Debito> debitos = new ArrayList<Debito>();

	public Integer getMes() {
		return mes;
	}

	public void setMes(Integer mes) {
		this.mes = mes;
	}

	public List<Credito> getCreditos() {
		return creditos;
	}

	public void setCreditos(List<Credito> creditos) {
		this.creditos = creditos;
	}

	public List<Debito> getDebitos() {
		return debitos;
	}

	public void setDebitos(List<Debito> debitos) {
		this.debitos = debitos;
	}

}
